package com.example.springbootEncrypt.anno;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface EncryptFilter {

    /**
     * 对入参是否解密
     * @return
     */
    boolean decryptRequest() default true;


    /**
     * 对出参是否加密
     */
    boolean encryptResponse() default true;


}

